﻿using JTTD.Common.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace JTTD.DataBase.Model.CompanyBill
{
    /// <summary>
    /// 店铺账单
    /// </summary>
    [Table("t_company_bill")]
    public class CompanyBillModel : BaseModel
    {
        /// <summary>
        /// 店铺id
        /// </summary>
        [Column("shop_id")]
        public int ShopId { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [Column("type")]
        public string Type { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        [Column("unit_price")]
        public string UnitPrice { get; set; }

        /// <summary>
        /// 总费
        /// </summary>
        [Column("total_fee")]
        public string TotalFee { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [Column("pay_date")]
        public string PayDate { get; set; }

        /// <summary>
        /// 租凭面积
        /// </summary>
        [Column("area")]
        public string Area { get; set; }

        /// <summary>
        /// 最后付款日
        /// </summary>
        [Column("last_date")]
        public DateTime LastDate { get; set; }

        /// <summary>
        /// 是否付款
        /// </summary>
        [Column("isPay")]
        public bool IsPay { get; set; } = false;

        /// <summary>
        /// 备注
        /// </summary>
        [Column("remarks")]
        public string Remarks { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [Column("isDelete")]
        public bool IsDelete { get; set; } = false;
    }
}
